package com.ruoyi.monitorTools.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.monitorTools.domain.HotSpotRegion;
import com.ruoyi.monitorTools.domain.RegionalInfo;


import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
* @author Administrator
* @description 针对表【a2_hot_spot_region(热点区域表)】的数据库操作Service
* @createDate 2025-02-17 13:46:08
*/
public interface HotSpotRegionService extends IService<HotSpotRegion> {

    int insertOne(HotSpotRegion hotSpotRegion);

    HotSpotRegion selectHotById(Long id);

    List<HotSpotRegion> listByPage(String regionName, Integer enableStatus);

    List<RegionalInfo> selectOtherList();

    AjaxResult batchUpdateEnableStatus(ArrayList<Integer> idList, Integer enableStatus);

    List<HotSpotRegion> isBreakOrOut(double lon, double lat, Date baseTime);

    List<Map<String, Object>> getTargetSizeByRegion();
}
